import Vue from 'vue'
import VueRouter from 'vue-router'

import TrendPage from '@/views/TrendPage'
import App from '@/App'
import ArtifactPage from '@/views/ArtifactPage'

Vue.use(VueRouter)

const routes = [
    {
        path:'/',
        component:App
    },
    {
        path: '/trend',
        component: TrendPage
    },
    {
        path: '/artifact',
        component: ArtifactPage
    }

]

const router = new VueRouter({
    routes
})

export  default  router
